package cn.yuanqiao.archive.archiveBorrow.domain;

import cn.yuanqiao.common.annotation.Excel;
import cn.yuanqiao.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.Map;

/**
 * archiveBorrowItem对象 YQDABORROW_ITEM
 * 
 * @author yuanqiao
 * @date 2023-07-14
 */
public class YqdaborrowItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 档案历史借阅记录id */
    private String itemId;

    /** 借阅单id */
    @Excel(name = "借阅单id")
    private Long borrowId;

    /** HDDA表id */
    @Excel(name = "HDDA表id")
    private String daId;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 返回时间 */
    @Excel(name = "返回时间")
    private String returnStatus;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private String startTime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    private String endTime;

    /** 档案归档司局 */
    @Excel(name = "档案归档司局")
    private String daGdsj;

    /** 档案归档司局ID */
    @Excel(name = "档案归档司局ID")
    private String daGdsjId;

    /** 档案归档处室 */
    @Excel(name = "档案归档处室")
    private String daGdcs;

    /** 档案的归档处室id */
    @Excel(name = "档案的归档处室id")
    private String daGdcsId;

    /** 借阅人 */
    @Excel(name = "借阅人")
    private String borrowUser;

    /** 借阅人id */
    @Excel(name = "借阅人id")
    private String borrowUserId;

    /** 是否同意 */
    @Excel(name = "是否同意")
    private String isAgree;

    /** 任务ID */
    @Excel(name = "任务ID")
    private String taskId;

    /** 节点ID */
    @Excel(name = "节点ID")
    private String nodeId;

    /** 实例ID */
    @Excel(name = "实例ID")
    private String instanceId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String secClassification;

    /** 归还时间 */
    @Excel(name = "归还时间")
    private Date GUIHUANTIME;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String copyPage;

    /**  借阅页数  */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String isBenchu;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String miji;

    /** 分类：0文件1案卷 */
    @Excel(name = "分类：0文件1案卷")
    private String daFloderMark;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String daBoxId;

    /** 反馈 */
    @Excel(name = "反馈")
    private String feedBack;

    /** 是否允许下载 */
    @Excel(name = "是否允许下载")
    private String downloadable;

    /** 是否可打印 */
    @Excel(name = "是否可打印")
    private String printable;

    /** 允许下载次数 */
    @Excel(name = "允许下载次数")
    private Integer permitDownloadCount;

    /** 实际下载次数 */
    @Excel(name = "实际下载次数")
    private Integer downloadCount;

    /** 打印次数 */
    @Excel(name = "打印次数")
    private Integer printCount;

    /** 续借次数 */
    @Excel(name = "续借次数")
    private Integer xujiecishu;

    /** 续借次数 */
    //@Excel(name = "续借次数")
    private Long categoryId;

    private String subTableName;

    private Map<String,Object> archiveData;

    public Map<String, Object> getArchiveData() {
        return archiveData;
    }

    public void setArchiveData(Map<String, Object> archiveData) {
        this.archiveData = archiveData;
    }

    public String getSubTableName() {
        return subTableName;
    }

    public void setSubTableName(String subTableName) {
        this.subTableName = subTableName;
    }

    @Override
    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public void setItemId(String itemId)
    {
        this.itemId = itemId;
    }

    public String getItemId()
    {
        return itemId;
    }
    public void setBorrowId(Long borrowId)
    {
        this.borrowId = borrowId;
    }

    public Long getBorrowId()
    {
        return borrowId;
    }
    public void setDaId(String daId)
    {
        this.daId = daId;
    }

    public String getDaId()
    {
        return daId;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setReturnStatus(String returnStatus)
    {
        this.returnStatus = returnStatus;
    }

    public String getReturnStatus()
    {
        return returnStatus;
    }
    public void setStartTime(String startTime)
    {
        this.startTime = startTime;
    }

    public String getStartTime()
    {
        return startTime;
    }
    public void setEndTime(String endTime)
    {
        this.endTime = endTime;
    }

    public String getEndTime()
    {
        return endTime;
    }
    public void setDaGdsj(String daGdsj)
    {
        this.daGdsj = daGdsj;
    }

    public String getDaGdsj()
    {
        return daGdsj;
    }
    public void setDaGdsjId(String daGdsjId)
    {
        this.daGdsjId = daGdsjId;
    }

    public String getDaGdsjId()
    {
        return daGdsjId;
    }
    public void setDaGdcs(String daGdcs)
    {
        this.daGdcs = daGdcs;
    }

    public String getDaGdcs()
    {
        return daGdcs;
    }
    public void setDaGdcsId(String daGdcsId)
    {
        this.daGdcsId = daGdcsId;
    }

    public String getDaGdcsId()
    {
        return daGdcsId;
    }
    public void setBorrowUser(String borrowUser)
    {
        this.borrowUser = borrowUser;
    }

    public String getBorrowUser()
    {
        return borrowUser;
    }
    public void setBorrowUserId(String borrowUserId)
    {
        this.borrowUserId = borrowUserId;
    }

    public String getBorrowUserId()
    {
        return borrowUserId;
    }
    public void setIsAgree(String isAgree)
    {
        this.isAgree = isAgree;
    }

    public String getIsAgree()
    {
        return isAgree;
    }
    public void setTaskId(String taskId)
    {
        this.taskId = taskId;
    }

    public String getTaskId()
    {
        return taskId;
    }
    public void setNodeId(String nodeId)
    {
        this.nodeId = nodeId;
    }

    public String getNodeId()
    {
        return nodeId;
    }
    public void setInstanceId(String instanceId)
    {
        this.instanceId = instanceId;
    }

    public String getInstanceId()
    {
        return instanceId;
    }
    public void setSecClassification(String secClassification)
    {
        this.secClassification = secClassification;
    }

    public String getSecClassification()
    {
        return secClassification;
    }
    public void setGUIHUANTIME(Date GUIHUANTIME)
    {
        this.GUIHUANTIME = GUIHUANTIME;
    }

    public Date getGUIHUANTIME()
    {
        return GUIHUANTIME;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }
    public void setCopyPage(String copyPage)
    {
        this.copyPage = copyPage;
    }

    public String getCopyPage()
    {
        return copyPage;
    }
    public void setIsBenchu(String isBenchu)
    {
        this.isBenchu = isBenchu;
    }

    public String getIsBenchu()
    {
        return isBenchu;
    }
    public void setMiji(String miji)
    {
        this.miji = miji;
    }

    public String getMiji()
    {
        return miji;
    }
    public void setDaFloderMark(String daFloderMark)
    {
        this.daFloderMark = daFloderMark;
    }

    public String getDaFloderMark()
    {
        return daFloderMark;
    }
    public void setDaBoxId(String daBoxId)
    {
        this.daBoxId = daBoxId;
    }

    public String getDaBoxId()
    {
        return daBoxId;
    }
    public void setFeedBack(String feedBack)
    {
        this.feedBack = feedBack;
    }

    public String getFeedBack()
    {
        return feedBack;
    }
    public void setDownloadable(String downloadable)
    {
        this.downloadable = downloadable;
    }

    public String getDownloadable()
    {
        return downloadable;
    }
    public void setPrintable(String printable)
    {
        this.printable = printable;
    }

    public String getPrintable()
    {
        return printable;
    }
    public void setPermitDownloadCount(Integer permitDownloadCount)
    {
        this.permitDownloadCount = permitDownloadCount;
    }

    public Integer getPermitDownloadCount()
    {
        return permitDownloadCount;
    }
    public void setDownloadCount(Integer downloadCount)
    {
        this.downloadCount = downloadCount;
    }

    public Integer getDownloadCount()
    {
        return downloadCount;
    }
    public void setPrintCount(Integer printCount)
    {
        this.printCount = printCount;
    }

    public Integer getPrintCount()
    {
        return printCount;
    }
    public void setXujiecishu(Integer xujiecishu)
    {
        this.xujiecishu = xujiecishu;
    }

    public Integer getXujiecishu()
    {
        return xujiecishu;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("itemId", getItemId())
                .append("borrowId", getBorrowId())
                .append("daId", getDaId())
                .append("status", getStatus())
                .append("returnStatus", getReturnStatus())
                .append("startTime", getStartTime())
                .append("endTime", getEndTime())
                .append("daGdsj", getDaGdsj())
                .append("daGdsjId", getDaGdsjId())
                .append("daGdcs", getDaGdcs())
                .append("daGdcsId", getDaGdcsId())
                .append("borrowUser", getBorrowUser())
                .append("borrowUserId", getBorrowUserId())
                .append("isAgree", getIsAgree())
                .append("taskId", getTaskId())
                .append("nodeId", getNodeId())
                .append("instanceId", getInstanceId())
                .append("secClassification", getSecClassification())
                .append("GUIHUANTIME", getGUIHUANTIME())
                .append("state", getState())
                .append("copyPage", getCopyPage())
                .append("isBenchu", getIsBenchu())
                .append("miji", getMiji())
                .append("daFloderMark", getDaFloderMark())
                .append("daBoxId", getDaBoxId())
                .append("feedBack", getFeedBack())
                .append("downloadable", getDownloadable())
                .append("printable", getPrintable())
                .append("permitDownloadCount", getPermitDownloadCount())
                .append("downloadCount", getDownloadCount())
                .append("printCount", getPrintCount())
                .append("xujiecishu", getXujiecishu())
                .toString();
    }
}
